package cn.iocoder.yudao.module.security.controller.admin.communicate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 通信行为新增/修改 Request VO")
@Data
public class SecurityCommunicateSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19152")
    private Long id;

    @Schema(description = "IP地址")
    private String ipAddress;

    @Schema(description = "上行流量")
    private BigDecimal upStream;

    @Schema(description = "下行流量")
    private BigDecimal downStream;

    @Schema(description = "成功连接数")
    private Long successConnection;

    @Schema(description = "失败连接数")
    private Long errorConnection;

    @Schema(description = "是否异常通信", example = "1")
    private String deviceStatus;

}